﻿using System.Configuration;
using IOCDemo.Interfaces;

namespace IOCDemo.Services
{
    public class XmlSettingsService : ISettingsService
    {
        #region ISettingsService Members

        public T GetSetting<T>(string settingKey) where T : class
        {
            return ConfigurationManager.AppSettings[settingKey] as T;
        }

        #endregion
    }
}